# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Will Sinatra <wpsinatra@gmail.com>
pkgname=liblogging
pkgver=1.0.6
pkgrel=4
pkgdesc="An easy to use logging library"
url="http://www.liblogging.org/"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.rsyslog.com/liblogging/liblogging-$pkgver.tar.gz"
options="!check"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-journal \
		--enable-stdlog
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="09c90a93b2d32afa44be5a800705a64690810a56d21bed1455cb70680b01fecd4efef3881a43f98ebcafa996b6046ed8e5af935eacc12014f330a7fd23674964  liblogging-1.0.6.tar.gz"
